import { defineStore } from "pinia";

export const useScrollStore = defineStore("scroll", {
  state: () => ({
    scrollY: 0
  }),
  actions: {
    setScrollY(value: number) {
      this.scrollY = value;
    }
  }
});
